
import java.awt.Color;
import java.awt.Graphics;
import javax.swing.JComponent;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Riso-Desktop
 */
public class StrelaEnemy extends JComponent {
    
    
    public StrelaEnemy(int x, int y){
        setBounds(x, y, 5, 5);
    }
    @Override
    public void paint(Graphics g) {
        g.setColor(Color.WHITE);
        g.fillRect(0, 0, 5, 5);
    }
}
